/*
 * @Author: 何 海深 813936564@qq.com
 * @Date: 2023-11-30 15:49:42
 * @LastEditors: 何 海深 813936564@qq.com
 * @LastEditTime: 2024-03-27 19:33:16
 * @FilePath: \vue-project\src\main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import './assets/main.css'

import { createApp } from 'vue'
/* import { createPinia } from 'pinia' */
import store from '@/stores'
import Antd from 'ant-design-vue' // 加载 JS
import App from './App.vue'
import '@/router/permission' // 权限
import router from '@/router' // 路由
import httpApi from './api/index' // api 请求
import 'ant-design-vue/dist/antd.css'
import * as ECharts from 'echarts'
/* import NoDataImg from '@/components/z-no-data/index.vue' */
const app = createApp(App)
app.provide('$http', httpApi)
app.config.globalProperties.$ECharts = ECharts
app.use(Antd)
/* app.use(createPinia()) */
app.use(store)
/* app.component('NoData-Img', NoDataImg) */
app.use(router)
app.mount('#app')
